package cn.iocoder.yudao.module.cms.benefit.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.time.LocalDateTime;

@Tag(name = "权益保障 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BenefitRespVO {

    @Schema(description = "唯一编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11427")
    @ExcelProperty("唯一编号")
    private Long id;

    @Schema(description = "种类，如：member_vip_benefit-用户权益、……", requiredMode = Schema.RequiredMode.REQUIRED, example = "member_vip_benefit")
    @ExcelProperty("种类")
    private String category;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "享受会员价")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "介绍")
    @ExcelProperty("介绍")
    private String summary;

    @Schema(description = "图标地址")
    private String iconUrl;

    @Schema(description = "跳转链接")
    private String linkUrl;

    @Schema(description = "排序", example = "1")
    private Integer sort;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
